package com.ct.service.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.ct.entity.po.User;

@FeignClient(name = "user-service", contextId = "travel-service-client")
public interface UserClient {
    @RequestMapping(value = "/user/getUserByUserId", method = RequestMethod.POST)
    User getUserByUserId(String userId);
}
